Stretching First Order Equational Logic: Proofs with Partiality, Subtypes and Retracts

نویسنده

  • Joseph A. Goguen
چکیده

It is widely recognized that equational logic is simple, (relatively) decidable, and (relatively) easily mechanized. But it is also widely thought that equational logic has limited applicability because it cannot handle subtypes or partial functions. We show that a modest stretch of equational logic eeectively handles these features. Space limits preclude a full theoretical treatment, so we often sketch, motivate and exemplify. 1 Introduction First order equational logic (EL) has signiicant conceptual, theoretical and computational advantages, to the extent that I suggest it should be used if it can be used for a given application. But there are many applications where ordinary rst order EL does not seem suuciently expressive. This paper describes an extension that greatly expands its expressiveness and applicability, at little cost to its advantages. EL was untyped at birth 3], but later extended to many sorts in various ways, of which 1] was perhaps rst and 5] notationally simplest; extensions to overloaded function symbols and conditional equations were also important; see 10] for technical and historical details. Section 2 quickly reviews many sorted EL, and Section 3 covers the next important extension, order sorted EL 11], including an inductive proof for a typical partial function. A nal section discusses a further extension to hidden EL.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A First-order Logic for String Diagrams

Equational reasoning with string diagrams provides an intuitive means of proving equations between morphisms in a symmetric monoidal category. This can be extended to proofs of infinite families of equations using a simple graphical syntax called !-box notation. While this does greatly increase the proving power of string diagrams, previous attempts to go beyond equational reasoning have been l...

متن کامل

20BJ: a metalogical framework theorem prover based on equational logic

This paper describes 20BJ, a tactic-based generic theorem prover that encodes object logics into equational logic via an abstract data type of object logic sentences and proofs. 20BJ is built upon OBJ3, a term rewriting implementation of (order sorted conditional) equational logic. Because object logic proofs are explicitly represented, 20BJ can not only reason with them, but also about them, a...

متن کامل

Proof Certificates for Equality Reasoning

The kinds of inference rules and decision procedures that one writes for proofs involving equality and rewriting are rather different from proofs that one might write in first-order logic using, say, sequent calculus or natural deduction. For example, equational logic proofs are often chains of replacements or applications of oriented rewriting and normal forms: logical connectives then play mi...

متن کامل

Induction=I-Axiomatization+First-Order Consistency

In the early 80's, there was a number of papers on what should be called proofs by consistency. They describe how to perform inductive proofs, without using an explicit induction scheme, in the context of equational speciications and ground-convergent rewrite systems. The method was explicitly stated as a rst-order consistency proof in case of pure equational, constructor based, speciications. ...

متن کامل

Equational Problems and Disunification

Roughly speaking, an equational problem is a first order formula whose only predicate symbol is =. We propose some rules for the transformation of equational problems and study their correctness in various models. Then, we give completeness results with respect to some “simple” problems called solved forms. Such completeness results still hold when adding some control which moreover ensures ter...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998